package com.fengplus.demo.service;

import com.fengplus.demo.entity.AppProduct;

public interface ProductService {

    AppProduct findOne(Long id);

    int save(AppProduct product, Integer stock);

    int findStock(Long productId);

    int decreaseStock(Long productId, Integer count);

}
